package org.qiyu.live.user.provider.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "qiyu.rmq.producer")
public class RocketMQProducerProperties {

    //nameSrv的地址
    private String nameSrv;

    //组名称
    private String groupName;

    //重试次数
    private int retryTimes;

    //重试超时时间
    private String sendTimeOut;


    public int getRetryTimes() {
        return retryTimes;
    }

    public void setRetryTimes(int retryTimes) {
        this.retryTimes = retryTimes;
    }



    public String getNameSrv() {
        return nameSrv;
    }

    public void setNameSrv(String nameSrv) {
        this.nameSrv = nameSrv;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }



    public String getSendTimeOut() {
        return sendTimeOut;
    }

    public void setSendTimeOut(String sendTimeOut) {
        this.sendTimeOut = sendTimeOut;
    }

    @Override
    public String toString() {
        return "RocketMQProducerProperties{" +
                "nameSrv='" + nameSrv + '\'' +
                ", groupName='" + groupName + '\'' +
                ", retryTimes='" + retryTimes + '\'' +
                ", sendTimeOut='" + sendTimeOut + '\'' +
                '}';
    }




}
